//
//  LPTMessegeTableViewCell.m
//  LPTClient
//
//  Created by mac on 2018/12/4.
//  Copyright © 2018年 zhaodd. All rights reserved.
//

#import "LPTMessegeTableViewCell.h"

@interface LPTMessegeTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *msgIcon;
@property (weak, nonatomic) IBOutlet UILabel *msgTitle;
@property (weak, nonatomic) IBOutlet UILabel *msgContent;
@property (weak, nonatomic) IBOutlet UILabel *msgDate;

@end

@implementation LPTMessegeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)refreshWithMsgEntity:(LPTHomeMsgEntity *)entity
{
    self.msgTitle.text = entity.title;
    self.msgContent.text = entity.content;
    self.msgDate.text = entity.created_at;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
